<?php include '../template/template_main.tpl'; 
require("../connect/connect.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="../css/template.css" />
<link rel="stylesheet" type="text/css" href="../css/corpo_main.css" />
<link rel="stylesheet" type="text/css" href="../css/form.css" />
<script type="text/javascript" src="../js/jquery-1.7.2.js" ></script>
<script type="text/javascript" src="../js/main.js" ></script>

<title>.:MateMatrix:.</title>

</head>
<body>
	<?php makeHeader(); ?>
	<?php echo $estruturaInicio;?>
	<h1>Registar Equipa:</h1>
	<form action="../publico/insertTeam.php" method="post">
		<div>
			<div class="ladoEsq">
				<label>Login (Nome da Equipa)</label>
			</div>
			<div class="ladoDir">	
				<input type="text" name="nomeEquipa"/>
			</div>
		</div>
		<div>
			<div class="ladoEsq">
				<label>Palavra-Passe</label>
			</div>
			<div class="ladoDir">	
				<input type="password" name="password"/>
			</div>
		</div>
		<div>
			<div class="ladoEsq">
				<label>URL da Foto Equipa</label>
			</div>
			<div class="ladoDir">
				<input type="text" name="foto"/>
			</div>
		</div>
		<div>
			<div class="ladoEsq">
				<label>Nome da Escola</label>
			</div>
			<div class="ladoDir">
				<input type="text" name="nomeEscola"/>
			</div>
		</div>
		<div>
			<div class="ladoEsq">
				<label>Morada</label>
			</div>
			<div class="ladoDir">
				<textarea rows="4" cols="80" name="morada"></textarea>
			</div>
		</div>
		<div>
			<div class="ladoEsq">
				<label>Codigo Postal</label>
			</div>
			<div class="ladoDir">
				<input type="text" name="cdp"/>
			</div>
		</div>
		<div>
			<div class="ladoEsq">
				<label>Localidade</label>
			</div>
			<div class="ladoDir">
				<input type="text" name="localidade"/>
			</div>
		</div>
		<div>
			<div class="ladoEsq">
				<label>Professor Responsavel</label>
			</div>
			<div class="ladoDir">
				<input type="text" name="professor"/>
			</div>
		</div>
		<div>
			<div class="ladoEsq">
				<label>E-mail</label>
			</div>
			<div class="ladoDir">
				<input type="text" name="email"/>
			</div>
		</div>
		<div>
			<div class="ladoEsq">
				<label>Telefone</label>
			</div>
			<div class="ladoDir">
				<input type="text" name="telefone"/>
			</div>
		</div>
				<div>
			<div class="ladoEsq">
				<label>Lista Elementos</label>
			</div>
			<div class="ladoDir">
				<input type="text" name="membros" id="listaMembros"/>
			</div>
		</div>
		<div class="ladoEsq">
			<input id="submit" type="submit" value="Submeter"/>
		</div>
		<div class="ladoDir">
			<input type="reset" value="Reset"/>
		</div>
	</form>

	<?php echo $estruturaFim; ?>
	<?php echo $footer;?>
</body>
</html>